package com.bysj.sausys.beans;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页查询结果类
 *
 * @param <T>
 * @author WangZK
 */
public class PageResult<T> {

    private List<T> list = new ArrayList<>();

    private Pagination pagination = new Pagination();

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Pagination getPagination() {
        return pagination;
    }

    public void setPagination(Pagination pagination) {
        this.pagination = pagination;
    }
}
